<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/cortop.jsp" %>
<jsp:directive.page import="com.lg.system.CTurnPage" />
<%@ include file="/jsp/jscommom.jsp"%>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>修改职位信息</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	<script type="text/javascript">
function doapply(url){
window.open(url,"_blank");
}

function goto(url){
window.open(url,"_blank");
}
</script>
	<%
		CTurnPage mPage = new CTurnPage();
		mPage = (CTurnPage) request.getAttribute("page");
	%>
	<body>
		<html:form action="/com/corpor/manage/viewapplybooth" method="get">
			<div align="center">
				<table width="97%" border="0" align="center" cellpadding="0"
					cellspacing="1" class="line1">
					<tr>
						<td class="titlebg" colspan="5">
							申请展位
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1">
							申请日期
						</td>
						<td class="mtdtitle1">
							申请类型
						</td>
						<td class="mtdtitle1">
							批准类型
						</td>
						<td class="mtdtitle1">
							批准展位
						</td>
						<td class="mtdtitle1">
							申请状态
						</td>
					</tr>
					<logic:empty name="page" property="sqlList">
						<tr>
							<td class="mtdtextcenterwrite" colspan="5">
								没有可显示的内容！
								<br>
								请先申请展位,当管理员确认申请后才能显示信息!

							</td>
						</tr>
					</logic:empty>
					<logic:notEmpty name="page" property="sqlList">
						<logic:iterate type="com.ibatis.po.corpor.TApplyBooth"
							id="applyBoothList" name="page" property="sqlList">
							<tr style="cursor:hand"
								onclick="goto('/system/manage/corpormanage/infomanage/editrecruitcontent.do?applyId=${applyBoothList.id }')">
								<td class="mtdtextcenterwrite">
									<bean:write property="appDate" name="applyBoothList"
										format="yyyy-MM-dd" />
								</td>
								<td class="mtdtextcenterwrite">
									<logic:equal value="0" name="applyBoothList" property="appTime">全天</logic:equal>
									<logic:equal value="1" name="applyBoothList" property="appTime">上午</logic:equal>
									<logic:equal value="2" name="applyBoothList" property="appTime">下午</logic:equal>
								</td>
								<td class="mtdtextcenterwrite">
									<logic:equal value="0" name="applyBoothList"
										property="appSuccessTime">全天</logic:equal>
									<logic:equal value="1" name="applyBoothList"
										property="appSuccessTime">上午</logic:equal>
									<logic:equal value="2" name="applyBoothList"
										property="appSuccessTime">下午</logic:equal>
								</td>
								<td class="mtdtextcenterwrite">
									${applyBoothList.applyBoothNo}
								</td>
								<td class="mtdtextcenterwrite">
									<logic:equal value="0" name="applyBoothList"
										property="appStatus">未确认</logic:equal>
									<logic:equal value="1" name="applyBoothList"
										property="appStatus">成功</logic:equal>
									<logic:equal value="2" name="applyBoothList"
										property="appStatus">无空展位</logic:equal>
									<logic:equal value="3" name="applyBoothList"
										property="appStatus">不通过</logic:equal>
								</td>
							</tr>
						</logic:iterate>
					</logic:notEmpty>
					<tr>
						<td colspan="5" class="mtdtitle1">
							<table width='100%'>
								<tr>
									<td class="left">
										<%=mPage.getPageInfo()%>
									</td>
									<td class="right">
										<%=mPage.getTurnPageLink()%>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1" colspan="5">
							<input type="button" class="tbutton"
								onclick="doapply('/com/corpor/manage/applybooth.do')" value="申请" />
							<input value="展位地图" type="reset"
								class="tbutton"  onclick="goto('/com/struts/web/news/viewnews.do?ID=200907051318271000')"/>
						</td>
					</tr>
					<tr>
					<td colspan="5" class="mtdtextcenterwrite">
					<div align="center">
					<font color="red">注：展位以工作人员安排为准。</font>
					</div>
					</td>
					</tr>
				</table>
			</div>
		</html:form>
	</body>
</html>
